package com.zp.pattern.strategy;

public class Test {
	public static void main(String[] args) {
		Strategy add = new Add();
		Environment e1 = new Environment(add);
		System.out.println(e1.caculate(3,4));
		
		Multiple multiple = new Multiple();
		Environment e2 = new Environment(multiple);
		System.out.println(e2.caculate(3,4));
	}
}
